#ifndef PERSON_H
#define PERSON_H



#include <stdint.h>
#include <stdbool.h>

#define MAX_NAME_LENGTH 10
#define MAX_INTRODUCE_LENGTH 100
#define FUNCTION_SUCCESS_CODE 0

#ifdef __cplusplus
extern "C" {
#endif


typedef struct _Person Person; 

struct _Person {
    uint8_t age;
    char name[MAX_NAME_LENGTH];
    uint8_t (*Introduce)(const Person*, char *result);
};

void Person_Init(Person*, uint8_t, char*);

#ifdef __cplusplus
}
#endif

#endif

